package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("schedule")
public class Schedule {
    @TableId(type = IdType.AUTO)//默认使用数据库中表的设置
    private Integer id;
    private Integer doctorId;
    private Integer deptId;
    private String wordDate;
    private String startTime;
    private String endTime;
    private Integer maxPatients;
    private Integer reservedCount;
}